package org.volicy.mysql.schema.configuration;

import com.google.common.collect.Maps;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @Author: volicy.xu
 * @Date: 2021/9/15
 */
@ConfigurationProperties(prefix = "mysql.schema")
public class MysqlSchemaProperties {

    private Map<String,String> mapping = Maps.newHashMap();

    private Map<String,String> dataSourceMapping = Maps.newHashMap();

    public Map<String, String> getDataSourceMapping() {
        return dataSourceMapping;
    }

    public void setDataSourceMapping(Map<String, String> dataSourceMapping) {
        this.dataSourceMapping = dataSourceMapping;
    }

    public Map<String, String> getMapping() {
        return mapping;
    }

    public void setMapping(Map<String, String> mapping) {
        this.mapping = mapping;
    }
}
